﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Petstore
    {
        //宠物寄存
        public void ConsignCat(Cat c)
        {
            c.Cry();
            c.Eat();
            c.Run();
            c.Walk();
        }
        public void ConsignTiger(Tiger t)
        {
            t.Cry();
            t.Eat();
            t.Run();
            t.Walk();
        }
        public void ConsignEagle(Eagle e)
        {
            e.Cry();
            e.Eat();
            e.Run();
            e.Walk();
        }
        public void ConsignSwallow(Swallow s)
        {
            s.Cry();
            s.Eat();
            s.Run();
            s.Walk();
        }
    }
}
